﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Playbook.Core.PlaybookDataServices;

namespace Playbook.Core.Services
{
    public sealed class MemberServices
    {
        public static void SaveBadge(PlaybookBadge badge)
        {
                        
            PlaybookEntities context = new PlaybookEntities(Shell.DataServicesURI);
            context.AddToPlaybookBadges(badge);
            context.SaveChanges();

            context = null;

        }
    }
}
